﻿<!doctype html>
<html>
<head>
<meta charset="utf-8" /> 
<title>获取display:none元素的size</title>
<style>
body{color:#ccc;}
</style>
</head>
<body>
    <script>
        var title = "a";
</script>
	<div id="box" style="width:100px;height:100px;padding:20px;border:10px solid #ccc;display:none;">asdd</div>
    <div  onclick="alert(title)">此处显示新 Div 标签的内容</div>
</body>


</html>
